package com.wz.project.bas.workShop.mapper;

import com.wz.project.bas.workShop.domain.BasWorkShop;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface WorkShopMapper {

    List<BasWorkShop> selectWorkShopList(@Param("basWorkShop")BasWorkShop basWorkShop);

    int deleteWorkShopByIds(String[] ids);

    BasWorkShop selectWorkShopByWorkShopId(@Param("workshop_id")String workshop_id);

    int saveAndUpdate(@Param("basWorkShop")BasWorkShop basWorkShop);

    int insertWorkShop(@Param("basWorkShop")BasWorkShop basWorkShop);
}
